<?php /* Smarty version 2.6.18, created on 2008-06-18 21:49:34
         compiled from Upload.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'get_app_inf', 'Upload.html', 4, false),array('function', 'url', 'Upload.html', 22, false),)), $this); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">  
<head>  
<title><?php echo $this->_plugins['function']['get_app_inf'][0][0]->_pi_func_get_app_inf(array('key' => 'siteName'), $this);?>
 - <?php echo $this->_tpl_vars['title']; ?>
</title>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />  
<!-- add your meta tags here -->  
  
<link href="css/my_layout.css" rel="stylesheet" type="text/css" />
<link href="css/photo.css" rel="stylesheet" type="text/css" /> 
<!--[if lte IE 7]>  
<link href="css/my_patches/patch_my_layout.css" rel="stylesheet" type="text/css" />  
<![endif]-->  
<link href="swfupload/uploader.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="swfupload/swfupload.js"></script>
<script type="text/javascript" src="swfupload/uploadhandlers.js"></script>
<script type="text/javascript">
<!--
	var swfu;
	window.onload = function () {
		swfu = new SWFUpload({
			// 后台环境设置
			upload_url: "<?php echo $this->_plugins['function']['url'][0][0]->_pi_func_url(array('controller' => 'upload','action' => 'upload'), $this);?>
",	// *相对于SWF文件的路径
			post_params: {
				album_id   : "<?php echo $this->_tpl_vars['album_id']; ?>
"
			},

			// 文件上传限制
			file_size_limit : "2048",	// 2MB
			file_types : "*.jpg",
			file_types_description : "JPEG Images",
			file_upload_limit : "0",    // 用户能够一次性上传的文件总数，0为不限制

			// 动作处理程序定义 - 下面的程序已经在 uploadhandlers.js 中定义
			// 动作处理程序不是 SWFUpload 的一部分，是帮助网站处理 SWFUpload 返回的动作的程序
			file_queue_error_handler : fileQueueError,
			file_dialog_complete_handler : fileDialogComplete,
			upload_progress_handler : uploadProgress,
			upload_error_handler : uploadError,
			upload_success_handler : uploadSuccess,
			upload_complete_handler : uploadComplete,

			// Flash Settings
			flash_url : "swfupload/swfupload_f9.swf",	// 入口程序到SWF的相对路径

			custom_settings : {
				upload_target : "divFileProgressContainer"
			},
			
			// Debug Settings
			debug: false
		});
	}
//-->
</script>

</head>  


<body> 
  <div id="page_margins">

    <div id="border-top">
      <div id="edge-tl"></div>
      <div id="edge-tr"></div>
    </div>
    <div id="page">
      <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "admin/Websetup_header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
      <div id="main">
        <div id="col3">
          <div id="col3_content" class="clearfix">
            	<h1>正在向相册『<?php echo $this->_tpl_vars['album_name']; ?>
』中上传图片，<a href="<?php echo $this->_plugins['function']['url'][0][0]->_pi_func_url(array('controller' => 'photos','aciton' => 'index'), $this);?>
">返回相册列表</a></h1>
				<div style="margin: 30px 10px;">
					<div>
						<form>
							<button id="btnBrowse" type="button" style="padding: 5px;" onclick="swfu.selectFiles(); this.blur();">
							<img src="swfupload/images/page_white_add.png" style="padding-right: 3px; vertical-align: bottom;">请选择需上传的图像文件 <span style="font-size: 9pt;">(可以多选)</span></button>
						</form>
					</div>
					<div id="divFileProgressContainer" style="height: 75px;"></div>
					<div id="thumbnails"></div>
				</div>
            
          </div>
          <!-- IE Column Clearing -->
          <div id="ie_clearing"> &#160; </div>
        </div>
      </div>
      <!-- begin: #footer -->
      <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "admin/Websetup_footer.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
    </div>
    <div id="border-bottom">
      <div id="edge-bl"></div>
      <div id="edge-br"></div>
    </div>
  </div>
</body>
</html>